home *** CD-ROM | disk | FTP | other *** search
- Echo Off
- if '%1'=='' GoTo NoDrive
- GoTo OKDrive
- rem For %%a in (A: B: C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) do if '%1'=='%%a' goto OKDrive
- rem For %%a in (a: b: c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) do if '%1'=='%%a' goto OKDrive
- rem GoTo NoDrive
- :OKDrive
- If Not '%2'=='' GoTo Installz
- Echo ╔════════════════════════════════════════════════════╗
- Echo ║ W A R N I N G ║
- Echo ║ ║
- Echo ║ You did not specify a directory where you want ║
- Echo ║ EasyChart installed. EasyChart will be installed ║
- Echo ║ in the default directory on drive %1. If you ║
- Echo ║ do not want this, press Ctrl-C now. ║
- Echo ╚════════════════════════════════════════════════════╝
- Pause
- :Installz
- If Not Exist EZC.EXE GoTo NoSoft
- If '%2'=='' GoTo SkipMD
- If '%2'=='\' GoTo SkipMD
- Echo ╔═════════════════════════════════════════════════════════╗
- Echo ║ The installation procedure will now attempt to make ║
- Echo ║ the directory you specified. If you receive the ║
- Echo ║ message "Unable to create directory" this is ok. ║
- Echo ╠═════════════════════════════════════════════════════════╣
- MkDir %1%2
- :SkipMD
- Set ColMon=N
- For %%a in (c C color Color COLOR) do if .%3==.%%a Set ColMon=Y
- Echo ╠═════════════════════════════════════════════════════════╣
- Echo ║ Creating the EasyChart System Defaults file. ║
- Echo ╠═════════════════════════════════════════════════════════╣
- Set ED=%1%2
- If '%2'=='\' Set ED=%1
- If '%2'=='' Set ED=%1
- Echo TUTORIAL.CHR>%ED%\EZCDV001.EZD
- Echo *.CHR>>%ED%\EZCDV001.EZD
- Echo 40>>%ED%\EZCDV001.EZD
- Echo 12>>%ED%\EZCDV001.EZD
- Echo %ED%\>>%ED%\EZCDV001.EZD
- Echo #18#27#72#27#50>>%ED%\EZCDV001.EZD
- Echo %ColMon%>>%ED%\EZCDV001.EZD
- Echo #015>>%ED%\EZCDV001.EZD
- Echo #018>>%ED%\EZCDV001.EZD
- Echo #027#071>>%ED%\EZCDV001.EZD
- Echo #027#072>>%ED%\EZCDV001.EZD
- Echo N>>%ED%\EZCDV001.EZD
- Echo 5>>%ED%\EZCDV001.EZD
- Echo 66>>%ED%\EZCDV001.EZD
- Echo 10>>%ED%\EZCDV001.EZD
- Echo 5>>%ED%\EZCDV001.EZD
- Echo *.MRG>>%ED%\EZCDV001.EZD
- Echo *.MRG>>%ED%\EZCDV001.EZD
- Echo %ED%\>>%ED%\EZCDV001.EZD
- Echo 1>>%ED%\EZCDV001.EZD
- Echo 1>>%ED%\EZCDV001.EZD
- Echo 0>>%ED%\EZCDV001.EZD
- Echo 0>>%ED%\EZCDV001.EZD
- Echo Y>>%ED%\EZCDV001.EZD
- Echo Y>>%ED%\EZCDV001.EZD
- Echo #27#50>>%ED%\EZCDV001.EZD
- Echo #27#48>>%ED%\EZCDV001.EZD
- Echo N>>%ED%\EZCDV001.EZD
- Echo N>>%ED%\EZCDV001.EZD
- Echo 6>>%ED%\EZCDV001.EZD
- If '%ColMon%'=='Y' GoTo SetClrs
- Echo 15>>%ED%\EZCDV001.EZD
- Echo 0>>%ED%\EZCDV001.EZD
- Echo 0>>%ED%\EZCDV001.EZD
- Echo 7>>%ED%\EZCDV001.EZD
- Echo 0>>%ED%\EZCDV001.EZD
- Echo 7>>%ED%\EZCDV001.EZD
- Echo 0>>%ED%\EZCDV001.EZD
- Echo 7>>%ED%\EZCDV001.EZD
- Echo 0>>%ED%\EZCDV001.EZD
- Echo 7>>%ED%\EZCDV001.EZD
- Echo 0>>%ED%\EZCDV001.EZD
- Echo 0>>%ED%\EZCDV001.EZD
- Echo 7>>%ED%\EZCDV001.EZD
- GoTo EndClrs
- :SetClrs
- Echo 14>>%ED%\EZCDV001.EZD
- Echo 0>>%ED%\EZCDV001.EZD
- Echo 15>>%ED%\EZCDV001.EZD
- Echo 2>>%ED%\EZCDV001.EZD
- Echo 15>>%ED%\EZCDV001.EZD
- Echo 3>>%ED%\EZCDV001.EZD
- Echo 15>>%ED%\EZCDV001.EZD
- Echo 4>>%ED%\EZCDV001.EZD
- Echo 15>>%ED%\EZCDV001.EZD
- Echo 6>>%ED%\EZCDV001.EZD
- Echo 13>>%ED%\EZCDV001.EZD
- Echo 15>>%ED%\EZCDV001.EZD
- Echo 1>>%ED%\EZCDV001.EZD
- :EndClrs
- Echo 1 File Name String>>%ED%\EZCDV001.EZD
- Echo 2 File Mask String>>%ED%\EZCDV001.EZD
- Echo 3 Tab Inc #>>%ED%\EZCDV001.EZD
- Echo 4 Page Inc #>>%ED%\EZCDV001.EZD
- Echo 5 File Path #>>%ED%\EZCDV001.EZD
- Echo 6 Setup String>>%ED%\EZCDV001.EZD
- Echo 7 Color Y/N>>%ED%\EZCDV001.EZD
- Echo 8 Compressed On String>>%ED%\EZCDV001.EZD
- Echo 9 Compressed Off String>>%ED%\EZCDV001.EZD
- Echo 10 Overstrike On String>>%ED%\EZCDV001.EZD
- Echo 11 Overstike Off String>>%ED%\EZCDV001.EZD
- Echo 12 Line Numbers Y/N>>%ED%\EZCDV001.EZD
- Echo 13 Left Margen #>>%ED%\EZCDV001.EZD
- Echo 14 Lines per Page #>>%ED%\EZCDV001.EZD
- Echo 15 Box Width #>>%ED%\EZCDV001.EZD
- Echo 16 Box Heighth #>>%ED%\EZCDV001.EZD
- Echo 17 Merge File String>>%ED%\EZCDV001.EZD
- Echo 18 Merge Mask String>>%ED%\EZCDV001.EZD
- Echo 19 Merge Path String>>%ED%\EZCDV001.EZD
- Echo 20 XPosS #>>%ED%\EZCDV001.EZD
- Echo 21 YPosS #>>%ED%\EZCDV001.EZD
- Echo 22 XPosW #>>%ED%\EZCDV001.EZD
- Echo 23 YPosW #>>%ED%\EZCDV001.EZD
- Echo 24 Bell Y/N>>%ED%\EZCDV001.EZD
- Echo 25 ASCII Extensions Y/N>>%ED%\EZCDV001.EZD
- Echo 26 6 Lines per Inch String>>%ED%\EZCDV001.EZD
- Echo 27 8 Lines per Inch String>>%ED%\EZCDV001.EZD
- Echo 28 Compressed Y/N>>%ED%\EZCDV001.EZD
- Echo 29 Overstrike Y/N>>%ED%\EZCDV001.EZD
- Echo 30 Lines per inch 6/8>>%ED%\EZCDV001.EZD
- Echo 31,32 Text Colors #,#>>%ED%\EZCDV001.EZD
- Echo 33,34 Mode Colors #,#>>%ED%\EZCDV001.EZD
- Echo 35,36 Info Colors #,#>>%ED%\EZCDV001.EZD
- Echo 37,38 Error Colors #,#>>%ED%\EZCDV001.EZD
- Echo 39,40 Query Colors #,#>>%ED%\EZCDV001.EZD
- Echo 41-43 Menu Colors #,#,#>>%ED%\EZCDV001.EZD
- Echo ║ Copying EasyChart and all its associated files. ║
- Echo ╠═════════════════════════════════════════════════════════╣
- Copy *.* %ED%/v
- If exist A:EZC.DOC GoTo NoDisk2
- If exist A:EZC.COM GoTo NoDisk2
- If exist A:QUICKREF.DOC GoTo NoDisk2
- Echo Echo Off>%ED%\INSTALL1.BAT
- Echo Echo ║ Insert EasyChart Diskette #2, then press Enter. ║>>%ED%\INSTALL1.BAT
- Echo Echo ╠═════════════════════════════════════════════════════════╣>>%ED%\INSTALL1.BAT
- Echo pause>>%ED%\INSTALL1.BAT
- Echo copy *.* %ED%\*.*/v>>%ED%\INSTALL1.BAT
- Echo Echo ║ If you did not receive the message "Insufficient disk ║>>%ED%\INSTALL1.BAT
- Echo Echo ║ space", the EasyChart installation is complete. ║>>%ED%\INSTALL1.BAT
- Echo Echo ╚═════════════════════════════════════════════════════════╝>>%ED%\INSTALL1.BAT
- Echo On
- CD %1%2
- %1INSTALL1.BAT
- GoTo Finish
- :NoDrive
- Echo ╔══════════════════════════════════════════════════╗
- Echo ║ No drive was specified on the INSTALL command. ║
- Echo ║ The syntax for the INSTALL command is: ║
- Echo ║ ║
- Echo ║ INSTALL [drive:] [\directory] [C/M] ║
- Echo ║ ║
- Echo ║ where: [drive:] is the drive where you will ║
- Echo ║ install EasyChart. ║
- Echo ║ ║
- Echo ║ [\directory] is the directory where you ║
- Echo ║ want EasyChart installed. ║
- Echo ║ ║
- Echo ║ [C/M] indicates the monitor type. ║
- Echo ║ C indicates a color monitor. ║
- Echo ║ M indicates a mono monitor. ║
- Echo ║ ║
- Echo ║ for example: INSTALL C: \EZC C ║
- Echo ╚══════════════════════════════════════════════════╝
- GoTo Finish
- :NoSoft
- Echo ╔═══════════════════════════════════════════════╗
- Echo ║ EZC.EXE was not found on the default drive. ║
- Echo ║ Make sure the default drive is set where ║
- Echo ║ your installation diskette is located. ║
- Echo ╚═══════════════════════════════════════════════╝
- GoTo Finish
- :NoDisk2
- Echo ║ If you did not receive the message "Insufficient disk ║
- Echo ║ space", the EasyChart installation is complete. ║
- Echo ╚═════════════════════════════════════════════════════════╝
- :Finish
- Set ED=
- Set ColMon=